
 <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  
    <title>我的前端入门之路 | Here. There.</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
    
    <meta name="author" content="被删">
    
    <meta name="description" content="曾经作为物理学院的一名理工女，如今成为一名热爱代码的前端工程师。其中的过程也是颇为丰富，作为记录也好，参考也好，我都想写下来呢。仅供参考哦。">
    
    
    
    
    <link rel="alternate" href="/atom.xml" title="Here. There." type="application/atom+xml">
    
    
    <link rel="icon" href="/img/favicon.ico">
    
    
    <link rel="apple-touch-icon" href="/img/pacman.jpg">
    <link rel="apple-touch-icon-precomposed" href="/img/pacman.jpg">
    
    <link rel="stylesheet" href="/css/style.css">
    
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?3d902de4a19cf2bf179534ffd2dd7b7f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>

  <body>
    <header>
      <div>
		
			<div id="imglogo">
				<a href="/"><img src="/img/sun.png" alt="Here. There." title="Here. There."/></a>
			</div>
			
			<div id="textlogo">
				<h1 class="site-name"><a href="/" title="Here. There.">Here. There.</a></h1>
				<h2 class="blog-motto">Love ice cream. Love sunshine. Love life. Love the world. Love myself. Love you.</h2>
			</div>
			<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
			</a></div>
			<nav class="animated">
				<ul>
					
						<li><a href="/">首页</a></li>
					
						<li><a href="https://github.com/godbasin/godbasin.github.io">所有文章</a></li>
					
						<li><a href="/archives">归档</a></li>
					
						<li><a href="/categories">分类</a></li>
					
						<li><a href="https://godbasin.github.io/front-end-playground">前端游乐场</a></li>
					
						<li><a href="/about">关于我</a></li>
					
				</ul>
			</nav>			
</div>

    </header>
    <div id="container">
      <div id="main" class="post" itemscope itemprop="blogPost">
	<article itemprop="articleBody"> 
		<header class="article-info clearfix">
  <h1 itemprop="name">
    
      <a href="/2016/06/24/front-end-getting-started/" title="我的前端入门之路" itemprop="url">我的前端入门之路</a>
  </h1>
  <p class="article-author">By
    
      <a href="https://godbasin.github.io" title="被删">被删</a>
    </p>
  <p class="article-time">
    <time datetime="2016-06-24T13:30:30.000Z" itemprop="datePublished">2016-06-24</time>
    更新日期:<time datetime="2016-08-20T10:54:21.081Z" itemprop="dateModified">2016-08-20</time>
    
  </p>
</header>
	<div class="article-content">
		
		
		<div id="toc" class="toc-article">
			<strong class="toc-title">文章目录</strong>
		<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#入门基础学习"><span class="toc-number">1.</span> <span class="toc-text">入门基础学习</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#充分利用网络资源"><span class="toc-number">1.1.</span> <span class="toc-text">充分利用网络资源</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#HTML-CSS"><span class="toc-number">1.2.</span> <span class="toc-text">HTML + CSS</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#HTML5"><span class="toc-number">1.3.</span> <span class="toc-text">HTML5</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#CSS3"><span class="toc-number">1.4.</span> <span class="toc-text">CSS3</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#javascript"><span class="toc-number">1.5.</span> <span class="toc-text">javascript</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#学会使用和了解框架和库"><span class="toc-number">2.</span> <span class="toc-text">学会使用和了解框架和库</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#CSS框架"><span class="toc-number">2.1.</span> <span class="toc-text">CSS框架</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#LESS-SASS"><span class="toc-number">2.2.</span> <span class="toc-text">LESS/SASS</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#jQuery库"><span class="toc-number">2.3.</span> <span class="toc-text">jQuery库</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#zepto库"><span class="toc-number">2.4.</span> <span class="toc-text">zepto库</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#MVC-MVVM框架"><span class="toc-number">2.5.</span> <span class="toc-text">MVC/MVVM框架</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#前端开发工具"><span class="toc-number">3.</span> <span class="toc-text">前端开发工具</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#编辑器"><span class="toc-number">3.1.</span> <span class="toc-text">编辑器</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Chrome开发者工具-Firebug"><span class="toc-number">3.2.</span> <span class="toc-text">Chrome开发者工具/Firebug</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Gulp-Grunt"><span class="toc-number">3.3.</span> <span class="toc-text">Gulp/Grunt</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Mocha-Jasmine-Karma"><span class="toc-number">3.4.</span> <span class="toc-text">Mocha/Jasmine/Karma</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#其它前端工具"><span class="toc-number">3.5.</span> <span class="toc-text">其它前端工具</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#成为一枚优质前端工程师"><span class="toc-number">4.</span> <span class="toc-text">成为一枚优质前端工程师</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#注意代码规范"><span class="toc-number">4.1.</span> <span class="toc-text">注意代码规范</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#针对性研究"><span class="toc-number">4.2.</span> <span class="toc-text">针对性研究</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#深入理解库-框架原理"><span class="toc-number">4.3.</span> <span class="toc-text">深入理解库/框架原理</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#了解后台工作"><span class="toc-number">4.4.</span> <span class="toc-text">了解后台工作</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#培养你的热情"><span class="toc-number">5.</span> <span class="toc-text">培养你的热情</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#博客"><span class="toc-number">5.1.</span> <span class="toc-text">博客</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#游戏"><span class="toc-number">5.2.</span> <span class="toc-text">游戏</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#动态页面"><span class="toc-number">5.3.</span> <span class="toc-text">动态页面</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#静态网页"><span class="toc-number">5.4.</span> <span class="toc-text">静态网页</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#结束语"><span class="toc-number">6.</span> <span class="toc-text">结束语</span></a></li></ol>
		</div>
		
		<p>曾经作为物理学院的一名理工女，如今成为一名热爱代码的前端工程师。其中的过程也是颇为丰富，作为记录也好，参考也好，我都想写下来呢。仅供参考哦。<br><a id="more"></a></p>
<h2 id="入门基础学习"><a href="#入门基础学习" class="headerlink" title="入门基础学习"></a>入门基础学习</h2><hr>
<p>前端基础三剑客（瞎编的）： HTML、CSS、javascript</p>
<h3 id="充分利用网络资源"><a href="#充分利用网络资源" class="headerlink" title="充分利用网络资源"></a>充分利用网络资源</h3><ul>
<li>最基础的语法可参考<a href="http://www.w3school.com.cn/" target="_blank" rel="external">W3C</a>，这也是一本很好的词典哦</li>
</ul>
<h3 id="HTML-CSS"><a href="#HTML-CSS" class="headerlink" title="HTML + CSS"></a>HTML + CSS</h3><ul>
<li><a href="http://www.bootcss.com/" target="_blank" rel="external">Bootstrap</a>，大家都在用的样式框架</li>
<li><a href="http://www.bootcss.com/p/font-awesome/" target="_blank" rel="external">Font Awesome</a>，图标字体库</li>
<li><a href="http://jquerymobile.com/" target="_blank" rel="external">jQuery Mobile</a>，移动web应用程序的框架</li>
<li><a href="https://jqueryui.com/" target="_blank" rel="external">jQuery UI</a>，建立在jQuery库上的一组用户界面交互、特效、小部件及主题</li>
<li>大家不妨用的时候也阅读一下这些框架/库的源码，有助于理解CSS特性哦</li>
</ul>
<h3 id="HTML5"><a href="#HTML5" class="headerlink" title="HTML5"></a>HTML5</h3><ul>
<li>每一项都值得你去深入探究哦<ul>
<li>用于绘画的canvas元素，可做图片裁剪、创作游戏等等</li>
<li>用于媒介回放的video和audio元素，可插入音乐和视频哦</li>
<li>对本地离线存储的更好的支持，离线你的API哈哈</li>
<li>新的特殊内容元素，比如article、footer、header、nav、section，让你的代码更好懂</li>
<li>新的表单控件，比如calendar、date、time、email、url、search，记得考虑兼容哦</li>
<li>实时通信的websocket，建议同时解一下socket.io</li>
<li>超实用的File API，可以做图片预览等等</li>
<li>当然少不了sessionStorage和localStorage，可以作为页面间的通讯哦</li>
</ul>
</li>
</ul>
<h3 id="CSS3"><a href="#CSS3" class="headerlink" title="CSS3"></a>CSS3</h3><ul>
<li>可以实现超级酷炫的动画效果，还有漂酿的样式哦</li>
<li><a href="http://www.w3cplus.com/content/css3-gradient" target="_blank" rel="external">w3cPlus</a>上的CSS3教程不错哦<ul>
<li>背景和边框，好看的按钮和阴影</li>
<li>文本效果，可以使用自己设计的字体哦</li>
<li>2D/3D 转换，配合动画和过渡一起使用哦</li>
<li>动画和过渡效果，快使用酷炫的交互效果吧</li>
</ul>
</li>
</ul>
<h3 id="javascript"><a href="#javascript" class="headerlink" title="javascript"></a>javascript</h3><ul>
<li>原生javascript是基础中的基础，但也是能力最强大的主角呀</li>
<li>推荐的书《JavaScript高级程序设计》，《JavaScript 权威指南》，花点钱买本正版吧，收益终身呀<ul>
<li>基础的ECMAScript，js的自由度很高的哦</li>
<li>DOM，若说浏览器是画布，DOM是画布上的内容，javascript就是画笔吧（瞎编+1）</li>
<li>BOM，包括常用的window对象、location对象、history对象等等</li>
</ul>
</li>
</ul>
<h2 id="学会使用和了解框架和库"><a href="#学会使用和了解框架和库" class="headerlink" title="学会使用和了解框架和库"></a>学会使用和了解框架和库</h2><hr>
<h3 id="CSS框架"><a href="#CSS框架" class="headerlink" title="CSS框架"></a>CSS框架</h3><ul>
<li>上面提到的<a href="http://www.bootcss.com/" target="_blank" rel="external">Bootstrap</a>，<a href="http://www.bootcss.com/p/font-awesome/" target="_blank" rel="external">Font Awesome</a>，<a href="http://jquerymobile.com/" target="_blank" rel="external">jQuery Mobile</a>，<a href="https://jqueryui.com/" target="_blank" rel="external">jQuery UI</a>都可以去了解看看哦</li>
</ul>
<h3 id="LESS-SASS"><a href="#LESS-SASS" class="headerlink" title="LESS/SASS"></a>LESS/SASS</h3><ul>
<li><a href="http://www.bootcss.com/p/lesscss/" target="_blank" rel="external">LESS</a>将CSS赋予了动态语言的特性，如变量，继承，运算，函数等</li>
<li><a href="http://sass.bootcss.com/docs/sass-reference/" target="_blank" rel="external">SASS</a>让CSS语言更强大、优雅。它允许你使用变量、嵌套规则、mixins、导入等众多功能，并且完全兼容CSS语法</li>
</ul>
<h3 id="jQuery库"><a href="#jQuery库" class="headerlink" title="jQuery库"></a>jQuery库</h3><ul>
<li>不得不说这是很强大的js库，曾经在我刚开始工作时帮助我解决了很多问题呢</li>
<li>这里有份<a href="http://www.css88.com/jqapi-1.9/" target="_blank" rel="external">《jQuery API中文文档》</a>，查询专用哦<ul>
<li>jQuery可以帮忙解决初期的很多问题哦，例如：</li>
<li>1.消除了JavaScript跨平台兼容问题</li>
<li>2.丰富的DOM选择器，超便利的$()选择器哦</li>
<li>3.可以很容易地浏览文档、选择元素、处理事件以及添加效果</li>
<li>4.ajax操作支持，后面版本的还支持Promise哦</li>
<li>5.允许开发者定制插件，<a href="http://www.cnblogs.com/heyuquan/p/form-plug-async-submit.html" target="_blank" rel="external">jQuery form插件</a>不错哦</li>
</ul>
</li>
</ul>
<h3 id="zepto库"><a href="#zepto库" class="headerlink" title="zepto库"></a><a href="http://www.css88.com/doc/zeptojs_api/" target="_blank" rel="external">zepto库</a></h3><ul>
<li>轻量级的jQuery库，适合移动端</li>
<li>个人觉得了解一下就够了。。除了touch事件有些参考价值，还是jQuery强大多了</li>
</ul>
<h3 id="MVC-MVVM框架"><a href="#MVC-MVVM框架" class="headerlink" title="MVC/MVVM框架"></a>MVC/MVVM框架</h3><ul>
<li>这是待开拓的一大片领土，每个框架都有自己的特色和优势，很有意思哦</li>
<li>虽然说纷繁琳目，但其实选一个喜欢的用起来就好啦，当然生产环境的话得考虑稳定性、社区、维护这些哦</li>
<li><a href="http://www.apjs.net/" target="_blank" rel="external">AngularJS</a>，MVVM</li>
<li><a href="http://reactjs.cn/" target="_blank" rel="external">React</a>，MVC的V</li>
<li><a href="http://www.bootcss.com/p/underscore/" target="_blank" rel="external">Underscore</a>，JavaScript工具库</li>
<li><a href="http://www.css88.com/doc/backbone/" target="_blank" rel="external">Backbone</a>，MVC，基于underscore.js</li>
<li><a href="http://cn.vuejs.org/" target="_blank" rel="external">Vue</a>，国人MVVM的VM</li>
<li><a href="http://avalonjs.github.io/" target="_blank" rel="external">Avalon</a>，国人MVVM</li>
</ul>
<h2 id="前端开发工具"><a href="#前端开发工具" class="headerlink" title="前端开发工具"></a>前端开发工具</h2><hr>
<h3 id="编辑器"><a href="#编辑器" class="headerlink" title="编辑器"></a>编辑器</h3><ul>
<li>DW(Dreamweaver)挺老了，比较重量级</li>
<li>Sublime Text，很多人在用的</li>
<li>Hbuilder，本人在用，感觉还不错</li>
<li>Vim，听说很好用</li>
</ul>
<h3 id="Chrome开发者工具-Firebug"><a href="#Chrome开发者工具-Firebug" class="headerlink" title="Chrome开发者工具/Firebug"></a>Chrome开发者工具/Firebug</h3><ul>
<li>浏览器调试工具，很强大哦，只需在浏览器右键-检查就能打开啦</li>
</ul>
<h3 id="Gulp-Grunt"><a href="#Gulp-Grunt" class="headerlink" title="Gulp/Grunt"></a>Gulp/Grunt</h3><ul>
<li>基于任务的javascript命令行构建工具</li>
<li>用于任务自动化，创建工作区等</li>
</ul>
<h3 id="Mocha-Jasmine-Karma"><a href="#Mocha-Jasmine-Karma" class="headerlink" title="Mocha/Jasmine/Karma"></a>Mocha/Jasmine/Karma</h3><ul>
<li>Mocha/Jasmine是常用的前端测试框架</li>
<li>Karma是驱动测试的Runner</li>
</ul>
<h3 id="其它前端工具"><a href="#其它前端工具" class="headerlink" title="其它前端工具"></a>其它前端工具</h3><ul>
<li>这里有篇<a href="https://github.com/doggy8088/frontend-tools" target="_blank" rel="external">《各式 Web 前端開發工具整理》</a></li>
</ul>
<h2 id="成为一枚优质前端工程师"><a href="#成为一枚优质前端工程师" class="headerlink" title="成为一枚优质前端工程师"></a>成为一枚优质前端工程师</h2><hr>
<h3 id="注意代码规范"><a href="#注意代码规范" class="headerlink" title="注意代码规范"></a>注意代码规范</h3><ul>
<li>良好的代码规范对团队合作很有帮助哦</li>
<li>本骚年在这方面有警觉，但还是欠缺实践呢…</li>
</ul>
<h3 id="针对性研究"><a href="#针对性研究" class="headerlink" title="针对性研究"></a>针对性研究</h3><ul>
<li><a href="https://blog.coding.net/blog/how-do-promises-work" target="_blank" rel="external">《理解Promise》</a></li>
<li><a href="http://www.ruanyifeng.com/blog/2012/09/xmlhttprequest_level_2.html" target="_blank" rel="external">《XMLHttpRequest Level 2使用指南》</a></li>
<li><a href="http://coolshell.cn/articles/9666.html" target="_blank" rel="external">《浏览器的渲染原理简介》</a></li>
<li><a href="http://coolshell.cn/articles/9749.html#jtss-tsina" target="_blank" rel="external">《Javascript装载和执行》</a></li>
<li><a href="http://www.html-js.com/article/Regularjs-Chinese-guidelines-for-a-comprehensive-summary-of-the-front-template-technology?utm_source=tuicool&amp;utm_medium=referral" target="_blank" rel="external">《一个对前端模板技术的全面总结》</a></li>
<li><a href="http://www.cnblogs.com/kenkofox/p/4643760.html" target="_blank" rel="external">《浅谈HTML5单页面架构》</a></li>
</ul>
<h3 id="深入理解库-框架原理"><a href="#深入理解库-框架原理" class="headerlink" title="深入理解库/框架原理"></a>深入理解库/框架原理</h3><ul>
<li>学习研究源代码是个很好的爱好哦，对个人提升也很有帮助呢</li>
<li>当然像Bootstrap这样的优秀样式框架很值得阅读，建议直接翻开源码，配合浏览器调试工具一起学习吧</li>
<li><a href="http://www.sxrczx.com/docs/js/2286877.html" target="_blank" rel="external">《深入理解JavaScript系列》</a></li>
<li><a href="http://www.cnblogs.com/aaronjs/p/3279314.html" target="_blank" rel="external">《jQuery源码分析系列》</a></li>
<li><a href="http://www.cnblogs.com/heyuquan/archive/2013/05/13/3076465.html" target="_blank" rel="external">《触碰jQuery：AJAX异步详解》</a></li>
<li>React精华之虚拟DOM：<a href="https://github.com/livoras/blog/issues/13" target="_blank" rel="external">《如何实现一个Virtual DOM算法》</a></li>
<li><a href="https://www.zouyesheng.com/angular.html" target="_blank" rel="external">《Angular学习笔记》</a></li>
<li><a href="http://www.html-js.com/article/2145" target="_blank" rel="external">《Angular源码分析系列》</a></li>
</ul>
<h3 id="了解后台工作"><a href="#了解后台工作" class="headerlink" title="了解后台工作"></a>了解后台工作</h3><ul>
<li>了解和你一起合作的小伙伴们也是很重要的哦</li>
<li>PHP、JAVA、Nodejs等服务端语言</li>
<li>MySQL、MongoDB等数据库</li>
</ul>
<h2 id="培养你的热情"><a href="#培养你的热情" class="headerlink" title="培养你的热情"></a>培养你的热情</h2><hr>
<p>你热爱前端吗？不清楚？<br>那你喜欢逻辑吗，喜欢设计吗，想要将自己大大的脑洞里面装的所有有趣的都分享出来吗？<br>我喜欢思考，喜欢想象，热爱学习，沉迷那种把想法写成成果的喜悦。<br>如果你的热情跟不上，可以尝试一下设计些小项目：</p>
<h3 id="博客"><a href="#博客" class="headerlink" title="博客"></a>博客</h3><p>这是最大众的选择，但即使是这样普通的网页，依然可以刷上你喜欢的颜色，添加有趣的装饰，贴一些你的想法，分享自己的喜怒哀乐。<br>还有什么比拥有一个专属自己的空间更值得开心呢？</p>
<ul>
<li>搭建方式： <ul>
<li>1.使用现有工具快速搭建。可选择使用wordpress（基于PHP），或者是hexo(基于nodejs)。网上google教程，一搜一大堆，度娘和谷哥无论生活还是学习都是一强力工具呢（很可惜我的认知能力就到这里了。。）</li>
<li>2.网上下载一些喜欢的博客资源，然后根据自己的爱好进行修改</li>
<li>3.从基础开始，自己搭建。可以从静态页面开始，用最基础的HTML+CSS+javascript(jQuery)来编写你的静态页面吧。一步步实现自己的设计还是个很有成就感的事情呢。<a href="http://www.godbasin.com/" target="_blank" rel="external">看我用静态页面和PHP搭的很多bug的博客</a></li>
</ul>
</li>
</ul>
<h3 id="游戏"><a href="#游戏" class="headerlink" title="游戏"></a>游戏</h3><p>当然首先你自己得是个爱玩游戏的骚年。相信你会对自己在游戏中加入的小想法和念头沾沾自喜的。</p>
<ul>
<li>编写选择：<ul>
<li>1.idea不足的时候，可以选择自己喜欢的一款游戏，使用前端去编写。</li>
<li>2.又或者可以下载已有的游戏，改成成自己喜欢的样子。</li>
<li>3.脑洞够大的你，当然要写一份自己设计的游戏啦。<br>看我的<a href="http://o969gatx6.bkt.clouddn.com/index.html" target="_blank" rel="external">《打嗝的巴士》</a>和<a href="http://o969lbf8k.bkt.clouddn.com/ballt.html" target="_blank" rel="external">《弹珠》</a></li>
</ul>
</li>
</ul>
<h3 id="动态页面"><a href="#动态页面" class="headerlink" title="动态页面"></a>动态页面</h3><p>一个简单但却动效十足的交互页面也是很有意思的哦。可参考<a href="http://o95scrds5.bkt.clouddn.com/index.html" target="_blank" rel="external">《酷炫HTML5》</a><br>当然这跟HTML5没多大关系，主要用的CSS3，不得不说CSS3太好玩了。</p>
<h3 id="静态网页"><a href="#静态网页" class="headerlink" title="静态网页"></a>静态网页</h3><p>静态网页可能没有前面的有意思，但也不妨为一种练习设计和基础的方式。<br>当然酷酷的你肯定可以设计漂亮的静态页面，又或者你可以用多种库和框架练练手呢。<br>参考入门初期写的一些网页： <a href="http://o95u5v08d.bkt.clouddn.com/index.html" target="_blank" rel="external">《被删动漫》</a>和<a href="http://o95u208de.bkt.clouddn.com/index.html" target="_blank" rel="external">《Restaurant》</a></p>
<h2 id="结束语"><a href="#结束语" class="headerlink" title="结束语"></a>结束语</h2><hr>
<p>一年多来，我学到的也就这篇文章差不多的东西。<br>前端很繁荣呢，还有很多很多的领域等待开拓和研究，相信你和我一样都满怀着好奇心和期待呢。<br>每天期待去上班的，不能只是我一个呀。让你的工作成为你美好生活的一部分吧。</p>
  
		
		<p style="margin-top:50px;">
			查看Github有更多内容噢：<a href="https://github.com/godbasin">https://github.com/godbasin</a>
			<br>
			更欢迎来<a href="https://godbasin.github.io/front-end-playground">被删的前端游乐场</a>边撸猫边学前端噢
		</p>
	</div>
	<img src="https://github-imglib-1255459943.cos.ap-chengdu.myqcloud.com/2code2.jpg" width="200" height="200" style="display:block;margin: 0 auto;" />
	<p style="text-align: center;margin-top: 10px;margin-bottom: 20px;">码生艰难，写文不易，给我家猪囤点猫粮了喵~</p>
	<div class="author-right">
  		<p>作者：被删</p>
  		<p>出处：<a href="https://godbasin.github.io">https://godbasin.github.io</a></p>
  		<p>本文版权归作者所有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</p>
	</div>
		<footer class="article-footer clearfix">

  <div class="article-tags">
  
  <span></span> <a href="/tags/分享/">分享</a>
  </div>


<div class="article-categories">
  <span></span>
  <a class="article-category-link" href="/categories/web乱炖/">web乱炖</a>
</div>



<div class="article-share" id="share">

  
<!-- JiaThis Button BEGIN -->
<div class="jiathis_style_24x24">
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_weixin"></a>
	<a class="jiathis_button_renren"></a>
	<a href="http://www.jiathis.com/share?uid=2134021" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
</div>
<script type="text/javascript">
var jiathis_config = {data_track_clickback:'true'};
</script>
<script type="text/javascript" src="http://v3.jiathis.com/code_mini/jia.js?uid=2134021" charset="utf-8"></script>
<!-- JiaThis Button END -->   


</div>
</footer>   	       
	</article>
	
<nav class="article-nav clearfix">
 
 <div class="prev" >
 <a href="/2016/06/25/about-position/" title="CSS的position和z-index有关">
  <strong>PREVIOUS:</strong><br/>
  <span>
  CSS的position和z-index有关</span>
</a>
</div>


<div class="next">
<a href="/2016/06/22/picture-cut/"  title="jQuery插件--Canvas实现图片裁剪">
 <strong>NEXT:</strong><br/> 
 <span>jQuery插件--Canvas实现图片裁剪
</span>
</a>
</div>

</nav>

	<!-- 如果不是首页且没使用 `comments: false` 关闭评论，则尝试加载评论 -->

    <!-- 配置中启用多说时，导入相应代码 -->
    


</div>  
      <div class="openaside"><a class="navbutton" href="#" title="显示侧边栏"></a></div>

  <div id="toc" class="toc-aside">
  <strong class="toc-title">文章目录</strong>
  <ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#入门基础学习"><span class="toc-number">1.</span> <span class="toc-text">入门基础学习</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#充分利用网络资源"><span class="toc-number">1.1.</span> <span class="toc-text">充分利用网络资源</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#HTML-CSS"><span class="toc-number">1.2.</span> <span class="toc-text">HTML + CSS</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#HTML5"><span class="toc-number">1.3.</span> <span class="toc-text">HTML5</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#CSS3"><span class="toc-number">1.4.</span> <span class="toc-text">CSS3</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#javascript"><span class="toc-number">1.5.</span> <span class="toc-text">javascript</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#学会使用和了解框架和库"><span class="toc-number">2.</span> <span class="toc-text">学会使用和了解框架和库</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#CSS框架"><span class="toc-number">2.1.</span> <span class="toc-text">CSS框架</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#LESS-SASS"><span class="toc-number">2.2.</span> <span class="toc-text">LESS/SASS</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#jQuery库"><span class="toc-number">2.3.</span> <span class="toc-text">jQuery库</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#zepto库"><span class="toc-number">2.4.</span> <span class="toc-text">zepto库</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#MVC-MVVM框架"><span class="toc-number">2.5.</span> <span class="toc-text">MVC/MVVM框架</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#前端开发工具"><span class="toc-number">3.</span> <span class="toc-text">前端开发工具</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#编辑器"><span class="toc-number">3.1.</span> <span class="toc-text">编辑器</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Chrome开发者工具-Firebug"><span class="toc-number">3.2.</span> <span class="toc-text">Chrome开发者工具/Firebug</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Gulp-Grunt"><span class="toc-number">3.3.</span> <span class="toc-text">Gulp/Grunt</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Mocha-Jasmine-Karma"><span class="toc-number">3.4.</span> <span class="toc-text">Mocha/Jasmine/Karma</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#其它前端工具"><span class="toc-number">3.5.</span> <span class="toc-text">其它前端工具</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#成为一枚优质前端工程师"><span class="toc-number">4.</span> <span class="toc-text">成为一枚优质前端工程师</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#注意代码规范"><span class="toc-number">4.1.</span> <span class="toc-text">注意代码规范</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#针对性研究"><span class="toc-number">4.2.</span> <span class="toc-text">针对性研究</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#深入理解库-框架原理"><span class="toc-number">4.3.</span> <span class="toc-text">深入理解库/框架原理</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#了解后台工作"><span class="toc-number">4.4.</span> <span class="toc-text">了解后台工作</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#培养你的热情"><span class="toc-number">5.</span> <span class="toc-text">培养你的热情</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#博客"><span class="toc-number">5.1.</span> <span class="toc-text">博客</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#游戏"><span class="toc-number">5.2.</span> <span class="toc-text">游戏</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#动态页面"><span class="toc-number">5.3.</span> <span class="toc-text">动态页面</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#静态网页"><span class="toc-number">5.4.</span> <span class="toc-text">静态网页</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#结束语"><span class="toc-number">6.</span> <span class="toc-text">结束语</span></a></li></ol>
  </div>

<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隐藏侧边栏"></a></div>
<aside class="clearfix">

  	
	<div class="archiveslist">
		<p class="asidetitle">最近文章</p>
			<ul class="archive-list">
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/15/wxapp-latest-20191115/" title="小程序开发月刊第11期（20191115）">小程序开发月刊第11期（201911...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/10/change-log/" title="前端 CHANGELOG 生成指南">前端 CHANGELOG 生成指南...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/09/wxapp-global-data-behavior/" title="小程序的奇技淫巧 -- globalDataBehavior管理全局状态">小程序的奇技淫巧 -- global...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/10/15/wxapp-latest-20191015/" title="小程序开发月刊第十期（20191015）">小程序开发月刊第十期（2019101...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/10/13/about-front-end-3-growth/" title="前端这几年--3.关于成长和焦虑">前端这几年--3.关于成长和焦虑...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/09/16/wxapp-latest-20190916/" title="小程序开发月刊第九期（20190916）">小程序开发月刊第九期（2019091...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/08/15/wxapp-latest-20190815/" title="小程序开发月刊第八期（20190815）">小程序开发月刊第八期（2019081...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/27/front-end-playground/" title="被删的前端游乐场建成！">被删的前端游乐场建成！</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/21/vue-for-everyone-3/" title="9102全员学Vue--3.把页面拼成个Web应用">9102全员学Vue--3.把页面拼...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/15/wxapp-latest-20190715/" title="小程序开发月刊第七期（20190715）">小程序开发月刊第七期（2019071...</a>
				</li>
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
			</ul>
	</div>


  
  <div class="archiveslist">
    <p class="asidetitle"><a href="/archives">归档</a></p>
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/11/">十一月 2019</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/10/">十月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/09/">九月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/08/">八月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/07/">七月 2019</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/06/">六月 2019</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/05/">五月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/04/">四月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/03/">三月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/02/">二月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/01/">一月 2019</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/12/">十二月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">十一月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/10/">十月 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/09/">九月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/08/">八月 2018</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/07/">七月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/06/">六月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">五月 2018</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">四月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/03/">三月 2018</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/02/">二月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/">一月 2018</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">十二月 2017</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/11/">十一月 2017</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">十月 2017</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">九月 2017</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">八月 2017</a><span class="archive-list-count">11</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/07/">七月 2017</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/">六月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/">五月 2017</a><span class="archive-list-count">15</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a><span class="archive-list-count">41</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/">一月 2017</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">十二月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">十一月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/">十月 2016</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">九月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/">八月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">七月 2016</a><span class="archive-list-count">14</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/06/">六月 2016</a><span class="archive-list-count">9</span></li></ul>
  </div>


  
<div class="archiveslist">
	<p class="asidetitle"><a href="/categories">分类</a></p>
		<ul class="archive-list">
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/CSS炒饭/" title="CSS炒饭">CSS炒饭<sup>3</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/D3小馒头/" title="D3小馒头">D3小馒头<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/angular2火锅/" title="angular2火锅">angular2火锅<sup>25</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/angular混搭/" title="angular混搭">angular混搭<sup>33</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/box2djs方糖/" title="box2djs方糖">box2djs方糖<sup>34</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/cyclejs哈根达斯/" title="cyclejs哈根达斯">cyclejs哈根达斯<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/jQuery杂烩/" title="jQuery杂烩">jQuery杂烩<sup>3</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/js什锦/" title="js什锦">js什锦<sup>26</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/react沙拉/" title="react沙拉">react沙拉<sup>16</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/three-js奶茶/" title="three.js奶茶">three.js奶茶<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/vue八宝粥/" title="vue八宝粥">vue八宝粥<sup>29</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/webpack宾治/" title="webpack宾治">webpack宾治<sup>9</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/web乱炖/" title="web乱炖">web乱炖<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/前端满汉全席/" title="前端满汉全席">前端满汉全席<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/喵/" title="喵">喵<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/小程序双皮奶/" title="小程序双皮奶">小程序双皮奶<sup>27</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/工作这杯茶/" title="工作这杯茶">工作这杯茶<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/应用巧克力盒/" title="应用巧克力盒">应用巧克力盒<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/思想棉花糖/" title="思想棉花糖">思想棉花糖<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/柴米油盐工具集/" title="柴米油盐工具集">柴米油盐工具集<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/自动化甜筒/" title="自动化甜筒">自动化甜筒<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/非前端钙片/" title="非前端钙片">非前端钙片<sup>7</sup></a>
			</li>
		
		</ul>
</div>


  
<div class="archiveslist">
	<p class="asidetitle">标签</p>
		<ul class="archive-list">
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/分享/" title="分享">分享<sup>44</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/原创部件/" title="原创部件">原创部件<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/心态/" title="心态">心态<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/教程/" title="教程">教程<sup>73</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/晒猫/" title="晒猫">晒猫<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/笔记/" title="笔记">笔记<sup>121</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/算法/" title="算法">算法<sup>9</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/自制插件/" title="自制插件">自制插件<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/逻辑实现/" title="逻辑实现">逻辑实现<sup>5</sup></a>
			</li>
		
		</ul>
</div>


    <div class="archiveslist">
    <p class="asidetitle"><a href="/archives">about</a></p>
      <ul class="archive-list">
      	<li class="archive-list-item">
      		<a>wangbeishan@163.com</a>
      		<a href="https://github.com/godbasin">github.com/godbasin</a>
      	</li>
      </ul>
  </div>

  <div class="rsspart">
	<a href="/atom.xml" target="_blank" title="rss">RSS 订阅</a>
</div>

</aside>
</div>
    </div>
    <footer><div id="footer" >
	
	<section class="info">
		<p> 即使梦想再小，却很伟大 ^_^ </p>
	</section>
	 
		<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © 2019 
		
		<a href="https://godbasin.github.io" target="_blank" title="被删">被删</a>
		
		</p>
</div>
</footer>
    <script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
  $('.navbar').click(function(){
    $('header nav').toggleClass('shownav');
  });
  var myWidth = 0;
  function getSize(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
  };
  var m = $('#main'),
      a = $('#asidepart'),
      c = $('.closeaside'),
      o = $('.openaside');
  $(window).resize(function(){
    getSize(); 
    if (myWidth >= 1024) {
      $('header nav').removeClass('shownav');
    }else
    {
      m.removeClass('moveMain');
      a.css('display', 'block').removeClass('fadeOut');
      o.css('display', 'none');
      
      $('#toc.toc-aside').css('display', 'none');
        
    }
  });
  c.click(function(){
    a.addClass('fadeOut').css('display', 'none');
    o.css('display', 'block').addClass('fadeIn');
    m.addClass('moveMain');
  });
  o.click(function(){
    o.css('display', 'none').removeClass('beforeFadeIn');
    a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');      
    m.removeClass('moveMain');
  });
  $(window).scroll(function(){
    o.css("top",Math.max(80,260-$(this).scrollTop()));
  });
});
</script>

<script type="text/javascript">
$(document).ready(function(){ 
  var ai = $('.article-content>iframe'),
      ae = $('.article-content>embed'),
      t  = $('#toc'),
      h  = $('article h2')
      ah = $('article h2'),
      ta = $('#toc.toc-aside'),
      o  = $('.openaside'),
      c  = $('.closeaside');
  if(ai.length>0){
    ai.wrap('<div class="video-container" />');
  };
  if(ae.length>0){
   ae.wrap('<div class="video-container" />');
  };
  if(ah.length==0){
    t.css('display','none');
  }else{
    c.click(function(){
      ta.css('display', 'block').addClass('fadeIn');
    });
    o.click(function(){
      ta.css('display', 'none');
    });
    $(window).scroll(function(){
      ta.css("top",Math.max(140,320-$(this).scrollTop()));
    });
  };
});
</script>







  </body>
</html>
